package cn.zjyj.module.zjyj.controller.admin.supplier.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 供应商新增/修改 Request VO")
@Data
public class SupplierSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8077")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "联系人", requiredMode = Schema.RequiredMode.REQUIRED)
    //(message = "联系人不能为空")
    private String contacts;

    @Schema(description = "联系电话", requiredMode = Schema.RequiredMode.REQUIRED)
    //(message = "联系电话不能为空")
    private String phone;

    @Schema(description = "邮箱", requiredMode = Schema.RequiredMode.REQUIRED)
    //(message = "邮箱不能为空")
    private String email;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "随便")
    //(message = "备注不能为空")
    private String remark;

    @Schema(description = "状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态（0正常 1停用）不能为空")
    private Integer status;

    @Schema(description = "纳税人识别号", requiredMode = Schema.RequiredMode.REQUIRED)
    //(message = "纳税人识别号不能为空")
    private String taxpayerNumber;

    @Schema(description = "开户银行", requiredMode = Schema.RequiredMode.REQUIRED)
    //(message = "开户银行不能为空")
    private String openAccountNumber;

    @Schema(description = "银行账号", requiredMode = Schema.RequiredMode.REQUIRED)
    //(message = "银行账号不能为空")
    private String bankAccountNumber;

    @Schema(description = "开户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    //(message = "开户名不能为空")
    private String bankAccountName;

    @Schema(description = "地址", requiredMode = Schema.RequiredMode.REQUIRED)
    //(message = "地址不能为空")
    private String bankAccountAddress;

}